home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 2⁄16⁄90 / 0669-Re Mouser Question-Feb90 < prev    next >
Encoding:
Text File  |  1990-02-16  |  1.0 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    9236958                         14-Feb-90        10:22PST
  4.  
  5. From:   BOETCHER1                       Boetcher, Mary
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. cc:     D2652                           Strategic Planning Sys, D Bell,PRT
  10.  
  11. Sub:    Re: Mouser Question
  12.  
  13. Dan,
  14.  
  15. I found nothing wrong (Mouserly speaking) with the code fragment you supplied.
  16. Perhaps the problem is in the code preceding it. Mouser’s Pascal parser can get
  17. confused by conditioned code that the compiler skips. If you condition some
  18. statements with {$IFC FALSE}, Mouser will still parse them since it doesn’t
  19. understand conditionals.  So you could get missing END or BEGIN errors,
  20. depending on what’s in the conditioned-out code.  For example:
  21.  
  22.     IF something THEN
  23.         {$IFC FALSE}
  24.         BEGIN
  25.         SomeStatements;
  26.         {$ENDC}
  27.         BEGIN
  28.         SomeMoreStatements;
  29.         END;
  30.  
  31. Here Mouser would report a missing END, because it sees both BEGINs.
  32.  
  33. Good luck,
  34.  
  35. Mary Boetcher
  36. Mouser Woman
  37.  
  38.